﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SusuCMS
{
    public abstract class RepositoryBase
    {
        protected CmsDataContext _CmsDataContext;

        public RepositoryBase(IUnitOfWork unitOfWork)
        {
            if (unitOfWork == null)
            {
                throw new ArgumentNullException("unitOfWork");
            }

            _CmsDataContext = unitOfWork as CmsDataContext;
        }
    }
}
